package src;


public class Process {

	public String name;
	public int arrival;
	public int runtime;
	public int remainingtime;
	public User user;
	
	public Process(String n,int arr,int rntime,User u){
		
		name = n;
		arrival = arr;
		runtime = rntime;
		remainingtime = rntime;
		user = u;
		
	}

	public void run(int time){
		
		System.out.println("At time "+time+" Process "+ this.name+" is running.");
		
	}
	
}
